package com.thinkfit.jy.bean;

import com.thinkfit.jy.utils.EquipmentInfoUtils;

import java.io.Serializable;


public class CreateTrainItemBean implements Serializable {
    private String time;
    private String speed;
    private String slop;
    private int maxSpeed = EquipmentInfoUtils.getInstance().getResistance();
    private int maxSlop = EquipmentInfoUtils.getInstance().getSlop();

    private int position;

    public int getPosition() {
        return position;
    }

    public void setPosition(int position) {
        this.position = position;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getSpeed() {
        return speed;
    }

    public void setSpeed(String speed) {
        this.speed = speed;
    }

    public String getSlop() {
        return slop;
    }

    public void setSlop(String slop) {
        this.slop = slop;
    }

    public int getMaxSpeed() {
        return maxSpeed;
    }


    public int getMaxSlop() {
        return maxSlop;
    }

    @Override
    public String toString() {
        return "CreateTrainItemBean{" +
                "time=" + time +
                ", speed=" + speed +
                ", slop=" + slop +
                ", maxSpeed=" + maxSpeed +
                ", maxSlop=" + maxSlop +
                ", position=" + position +
                '}';
    }
}
